package com.yidu.hbats.dao;

import com.yidu.hbats.model.AtsAttachmentEmp;


import java.util.List;

public interface AtsAttachmentEmpMapper {
    int deleteByPrimaryKey(Integer aeId);

    /**
     * 根据外键删除
     * @param schemeId
     * @return
     */
    int deleteBySchemeId(Integer schemeId);

    int insert(AtsAttachmentEmp record);

    int insertSelective(AtsAttachmentEmp record);

    AtsAttachmentEmp selectByPrimaryKey(Integer aeId);

    List<AtsAttachmentEmp> selectByAttachID(Integer aeId);

    int updateByPrimaryKeySelective(AtsAttachmentEmp record);

    int updateByPrimaryKey(AtsAttachmentEmp record);


}